// index.js
// 获取应用实例
const app = getApp()

Page({
  data: {
    msg: 'hellow',
    count: 1
  },
  txtChenge(e) {
    console.log(e)
    this.setData({
      msg:this.data.msg+'-'
    })
  },
  addCount() {
    this.setData({
      count: this.data.count + 1
    })
  }

})